<!DOCTYPE html>  
<html lang="en">  
<head>  
 <meta charset="UTF-8">  
 <title>Login</title>  
 <link rel="stylesheet" type="text/css" href="Login.css"/>  
</head>  
<body>  
 <p id="login">  
 <h1>Login</h1>  
 <form action="{$Request.url}" method="post">  
    <input type="text" required="required" placeholder="用户名" name="username"></input>  
    <input type="password" required="required" placeholder="密码" name="password"></input>  
    
    <div>验证码<input type="text" required="required" placeholder="验证码" name="code"></input>  
        <img src="{:captcha_src()}" alt="captcha" onclick="this.src='{:captcha_src()}?'+Math.random()"/></div>


    <button class="but" type="submit">登录</button>  
 </form>  
 </p>  

 <p> {$Think.session.admin.account}</p>
 <a href="{:url('admin/login/logout')}">退出</a>
</body>  
</html>